package main

import (
	"fmt"
	"net/http"
)


func main(){
	http.HandleFunc("/",func(w http.ResponseWriter, r *http.Request) {
		fmt.Fprintln(w,"welcome to my website")
	})

	// set file server
	fs := http.FileServer(http.Dir("static/"))
	http.Handle("/static/",http.StripPrefix("/static/",fs))

	http.ListenAndServe(":8080",nil)
}